package com.ruoyi.ruoyiyinzheng.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
import com.ruoyi.ruoyiyinzheng.domain.StDevice;
import com.ruoyi.ruoyiyinzheng.domain.StExperimentRequest;
import com.ruoyi.ruoyiyinzheng.domain.vo.StDeviceVo;
import com.ruoyi.ruoyiyinzheng.domain.vo.StExperimentRequestVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 实验要求Mapper接口
 *
 * @author ruoyi
 * @date 2023-09-24
 */
public interface StExperimentRequestMapper extends BaseMapperPlus<StExperimentRequestMapper, StExperimentRequest, StExperimentRequestVo> {
    Page<StExperimentRequestVo> selectStExperimentRequestPageList(@Param("page") Page<StExperimentRequest> page, @Param(Constants.WRAPPER) Wrapper<StExperimentRequest> queryWrapper);
    List<StExperimentRequestVo> selectStExperimentRequestList(@Param(Constants.WRAPPER) Wrapper<StExperimentRequest> queryWrapper);
    List<String>   selectStRecipeNameList(@Param("id") Long id);
    int  selectExperimentNumberCount(@Param("id") Long id);
}
